#include "widget.h"
#include "ui_widget.h"


Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    //setCursor(QCursor(Qt::WaitCursor));
    //QPixmap pixmap("C:/Users/ZhuanZ1/Downloads/basketball.png");
    QPixmap pixmap(":/basketball.png");
    pixmap = pixmap.scaled(64, 64);
    //QCursor cursor(pixmap);
    QCursor cursor(pixmap, 10, 10);
   // setCursor(cursor);
    ui->pushButton->setCursor(cursor);

}

Widget::~Widget()
{
    delete ui;
}

